<li><a {if $smarty.request.do=='rubs'}class="active"{else}{/if} href="index.php?do=rubs&amp;cp={$sess}"><span>{#MAIN_RUBRIKS#}</span></a></li>